/*QLineEdit
{
border: none;
background:red;
border-radius:20px;
}
.LoginWgt {
    background-color: rgba(225, 25, 255, 0.5);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}


QPushButton
{
image:url(:\qss\image\);
background:transparent;
}
/* ===== 输入框样式 ===== */
/* ===== 全局样式 - 紫色心情主题 ===== */
QWidget {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #0000ff; /* 浅紫色背景 */
}

/* ===== 主窗口样式 ===== */
QMainWindow {
    background: qlineargradient(
        x1:0, y1:0, x2:1, y2:1,
        stop:0 #e6e6ff, stop:1 #f8f4ff
    );
    border-radius: 15px;
}

/* ===== 按钮样式 ===== */
QPushButton {
    background-color: qlineargradient(
        x1:0, y1:0, x2:0, y2:1,
        stop:0 #b19cd9, stop:1 #9370db
    );
    color: white;
    border: none;
    border-radius: 18px;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 14px;
    min-width: 120px;
    min-height: 36px;
    box-shadow: 0px 4px 10px rgba(147, 112, 219, 0.3);
}

QPushButton:hover {
    background-color: qlineargradient(
        x1:0, y1:0, x2:0, y2:1,
        stop:0 #a78ed0, stop:1 #8367c7
    );
    box-shadow: 0px 6px 12px rgba(147, 112, 219, 0.4);
}

QPushButton:pressed {
    background-color: qlineargradient(
        x1:0, y1:0, x2:0, y2:1,
        stop:0 #8a6dbb, stop:1 #6a4fc1
    );
    box-shadow: 0px 2px 6px rgba(147, 112, 219, 0.2);
}

QPushButton:disabled {
    background-color: #d0c4e9;
    color: #a9a0b9;
}

/* ===== 特殊按钮样式 ===== */
QPushButton#loginButton {
    background-color: qlineargradient(
        x1:0, y1:0, x2:0, y2:1,
        stop:0 #9b59b6, stop:1 #8e44ad
    );
}

QPushButton#registerButton {
    background-color: qlineargradient(
        x1:0, y1:0, x2:0, y2:1,
        stop:0 #a17fe0, stop:1 #7e57c2
    );
}

QPushButton#closeButton {
    background-color: #d7c0eb;
    color: #6a1b9a;
    border-radius: 15px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    padding: 0;
    font-weight: bold;
    font-size: 18px;
}

QPushButton#closeButton:hover {
    background-color: #f48fb1;
    color: white;
}

/* ===== 输入框样式 ===== */
QLineEdit {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #d0c4e9;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14px;
    color: #4a2c7a;
    select
QLineEdit {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #d0c4e9;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14px;
    color: #4a2c7a;
    selection-background-color: #d0c4e9;
    selection-color: #4a2c7a;
}

QLineEdit:focus {
    border: 2px solid #9b59b6;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

QLineEdit:disabled {
    background-color: #eae5f5;
    color: #a9a0b9;
}

/* ===== 标签样式 ===== */
QLabel {
    color: #4a2c7a;
    font-size: 14px;
    padding: 5px 0;
}

QLabel#titleLabel {
    font-size: 24px;
    font-weight: bold;
    color: #6a1b9a;
    padding: 10px 0;
}

/* ===== 容器样式 ===== */
QFrame#mainContainer {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    border: 1px solid #e0d6f0;
    box-shadow: 0 10px 30px rgba(147, 112, 219, 0.15);
}

QFrame#inputContainer {
    background-color: rgba(245, 240, 255, 0.5);
    border-radius: 15px;
    border: 1px dashed #d0c4e9;
}
